import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/shop/shopEmploye/list',
method: 'get',
params: params
})
}
export function createShopEmploye(data) {
return request({
url: '/shop/shopEmploye/create',
method: 'post',
data: data
})
}

export function deleteShopEmploye(id) {
return request({
url: '/shop/shopEmploye/delete/' + id,
method: 'get',
})
}

export function getShopEmploye(id) {
return request({
url: '/shop/shopEmploye/' + id,
method: 'get',
})
}

export function updateShopEmploye(id, data) {
return request({
url: '/shop/shopEmploye/update/' + id,
method: 'post',
data: data
})
}

